@import "~@/styles/mixins/mixin.less";
@import "~@/styles/basic/var.less";

.message {
    .abs-full();
    display: flex;
    border-radius: 10px;
    padding: 10px 30px;
    color: white;
    align-items: center;
    line-height: 2em;
    box-shadow: -2px 2px 10px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transform: translate(-50%, -50%) translateY(50px);
    transition: all 0.5s;

    &-info {
        background-color: @primary;
    }

    &-success {
        background-color: @success;
    }

    &-warn {
        background-color: @warn;
    }

    &-error {
        background-color: @danger;
    }
}

.icon {
    i {
        font-size: 20px;
        margin-right: 7px;
    }
}